package app.domain;

import app.domain.entity.Vertex;
import org.apache.ibatis.annotations.Mapper;

import java.util.Optional;

/**
 * VertexMapper
 * @author somebody
 */
@Mapper
public interface VertexMapper {
    /**
     * findById
     *
     * @param id 键
     * @return 顶点数据
     */
    Optional<Vertex> findById(Long id);
}
